package com.acme.bankapp.domain.email;

public class Email {
	private String message;
	private String recipient;

	public Email(String message, String recipient) {
		this.message = message;
		this.recipient = recipient;
	}

	public String getMessage() {
		return message;
	}

	public String getRecipient() {
		return recipient;
	}

	@Override
	public String toString() {
		return String.format("email to '%s' with message '%s'",
				recipient, message);
	}
	
	
	
	
}
